package com.zhuiyun.project.api.plan.fitnessPlanActionGroup.service;

import com.zhuiyun.project.api.plan.fitnessPlanActionCount.entity.FitnessPlanActionCount;
import com.zhuiyun.project.api.plan.fitnessPlanActionGroup.entity.FitnessPlanActionGroup;
import com.zhuiyun.project.api.plan.fitnessPlanActionGroup.model.FitnessPlanActionGroupModel;
import com.zhuiyun.project.common.errorCode.CommonException;
import com.zhuiyun.project.common.response.CommonResult;
import com.zhuiyun.project.utils.pageUtil.PageRequest;
import com.zhuiyun.project.utils.pageUtil.PageResult;

import java.util.List;

/**
* @Author 杨珅
* @Description todo 目的业务层
* @Date 2023/11/2 9:02
* @Return  * @param null
*/
public interface FitnessPlanActionGroupService {
    /**
     * @Author 杨珅
     * @Description todo 健身计划动作分页查询
     * @Date 2023/11/2 9:28
     * @Return  * @param null
     */
    PageResult selectAll(PageRequest pageRequest, Integer planActionId);
    /**
     * @Author 杨珅
     * @Description todo 查询健身计划动作总组
     * @Date 2023/11/2 9:28
     * @Return  * @param null
     */
    List<FitnessPlanActionGroupModel> selectGroupCount (Integer planActionId);
    /**
     * @Author 杨珅
     * @Description todo 根据动作id查询健身计划动作组
     * @Date 2023/11/2 9:28
     * @Return  * @param null
     */
    CommonResult selectGroupAll(Integer planActionId);
//    /**
//     * @Author 杨珅
//     * @Description todo 根据目的id全查标签
//     * @Date 2023/11/2 9:28
//     * @Return  * @param null
//     */
//    PageResult selectTypes(PageRequest pageRequest, Integer fitnessPurposeId);
    /**
     * @Author 杨珅
     * @Description todo 健身计划动作组新增
     * @Date 2023/11/2 9:28
     * @Return  * @param null
     */
    CommonResult insertFitnessPlanActionGroup(FitnessPlanActionGroupModel fitnessPlanActionGroupModel)throws CommonException;
    /**
     * @Author 杨珅
     * @Description todo 健身计划动作组修改
     * @Date 2023/11/2 9:28
     * @Return  * @param null
     */
    CommonResult updateFitnessPlanActionGroup(FitnessPlanActionGroup fitnessPlanActionGroup)throws CommonException;
    /**
     * @Author 杨珅
     * @Description todo 健身计划动作组删除
     * @Date 2023/11/2 9:28
     * @Return  * @param null
     */
    CommonResult deleteFitnessPlanActionGroup(FitnessPlanActionGroup fitnessPlanActionGroup);
}
